
<link href='dist/css/bootstrap.css' rel='stylesheet' type='text/css' />

<?php

require_once("/login/controller/userLogin.php");
require_once("/login/view/LoginView.php");
require_once("/loggedin/controller/Game.php");
require_once("/loggedin/view/GameView.php");

$usrLogin = new \login\controller\userLogin();
$loginView = new \login\view\LoginView();
$gameController = new \loggedin\controller\Game();
$gameView = new \loggedin\view\GameView();

session_start();

if(!$gameView->checkIfFirstTimePlaying()) {
	$gameView->setPlayerPoints(0);
}
if($loginView->getSessionLoggedinInfo()) {
	echo $gameController->getMemberPages();
}
else{
	echo $usrLogin->loginUser();
}
?>